package com.example.demo.component;

import com.example.demo.annotation.HandlerType;
import com.example.demo.entity.OrderDto;
import com.example.demo.service.AbstractHandler;
import org.springframework.stereotype.Component;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Copyright 上海危网信息科技有限公司版权所有
 * @company wwsoft
 * @Date 2020/4/21 10:47
 */
@Component
@HandlerType("3")
public class PromotionHandle extends AbstractHandler {
    @Override
    public String handle(OrderDto orderDto) {
        return "PromotionHandle >>> 处理促销订单";
    }
}
